﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="RuleSetSchema"
    targetNamespace="http://tuliprules/rulesets/2010/12"
    elementFormDefault="qualified"
    xmlns:tns="http://tuliprules/rulesets/2010/12"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
  <xs:complexType name="RuleSetType">
    <xs:sequence>
      <xs:element name="Parser" type="tns:ParserType" />
      <xs:element name="Presentation" type="xs:string" />
    </xs:sequence>
    <xs:attribute name="name" type="xs:string" />
    <xs:attribute name="majorVersion" type="xs:int" />
    <xs:attribute name="minorVersion" type="xs:int" />
    <xs:attribute name="build" type="xs:int" />
    <xs:attribute name="revision" type="xs:int" />
  </xs:complexType>
  <xs:element name="RuleSet" type="tns:RuleSetType" />
  <xs:complexType name="ParserType">
    <xs:attribute name="assemblyName" type="xs:string" />
    <xs:attribute name="typeName" type="xs:string" />
  </xs:complexType>
</xs:schema>
